<?php
if (!defined('INDEX')) {
	exit ('Access Denied');
}

$parameter=act_wap_mall();
extract($parameter);
include(TPLPATH.'/admin_set/vipduo.tpl.php');
include(TPLPATH.'/inc/header_2.tpl.php');
?>
<style type="text/css"> 
.lanmu{ margin:0 auto; width:240px; height:30px; border:1px #ff1166 solid; margin:10px 0;font-size:14px;color:#fff;border-radius:3px; overflow:hidden}
.lanmu li{ float:left;width:120px;background:#fff;text-align:center;height:30px; line-height:30px;  color:#ff3366;}
.lanmu li a{color:#ff3366;}
.lanmu li .jx{ background:#FF3366;color:#fff;height:30px;  display:block}
</style>
<script>
var floorStep=2;
var ajaxTag=0;
$(function(){
	$('.shuju_load img.lazy').lazyload({
		threshold:20,
		failure_limit:50
	});
});
</script>
 <div align="center" style="width:100%;">
<div class="lanmu">
<li><a href="<?=wap_l('tao','index')?>" <?php if($mod=='tao'){?>class="jx"<?php }?>>淘宝返利</a></li>
<li><a href="<?=wap_l('mall','index')?>" <?php if($mod=='mall'){?>class="jx"<?php }?>>商城返利</a></li>
  </div>   
</div>  

<div class="wap-index" style="padding-bottom:20px; background:#FFFFFF" >  
 
		
			<div class="mall-list" id="myTab1_Content0">
			    <ul>  
				   <?php foreach($shuju_data as $row){?>
	<li>  <a href="<?=wap_l('jump','index',array('a'=>'mall','url'=>$row['url']))?>">
                  <img class="img_1" src="<?=$row['img']?>" alt="<?=$row['title']?>" style="width:85px;height:45px; display:block;margin:5px auto;">
                   <p style=" margin-top:15px; font-size:12px">返利 <font color="#ff6699" style="font-size:14px"><B><?=$row['fan']?></B></font></p>
                   </a>
                </li>
            <?php }?>	
             </ul>
			</div>
			
		
</div>     
<script type="text/javascript">
function nTabs(thisObj,Num){
if(thisObj.className == "current")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
  if (i == Num)
  {
   thisObj.className = "current";
      document.getElementById(tabObj+"_Content"+i).style.display = "block";
  }else{
   tabList[i].className = "ncurrent";
   document.getElementById(tabObj+"_Content"+i).style.display = "none";
  }
}
}
</script>
  <a href="javascript:scroll(0,0)" hidefocus="true" title="回到顶部" id="scrollTop"></a>
<?php include(TPLPATH.'/inc/footer.tpl.php');?>
